package cn.iocoder.yudao.module.ems.convert.warehousing;

import cn.iocoder.yudao.framework.common.pojo.PageResult;
import cn.iocoder.yudao.module.ems.controller.admin.warehousing.vo.*;
import cn.iocoder.yudao.module.ems.dal.dataobject.warehousing.WarehousingDO;
import cn.iocoder.yudao.module.ems.dal.dataobject.warehousing.WarehousingInfoDO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.Collection;
import java.util.List;

/**
 * 入库记录 Convert
 *
 * @author dason
 */
@Mapper
public interface WarehousingInfoConvert {

    WarehousingInfoConvert INSTANCE = Mappers.getMapper(WarehousingInfoConvert.class);
    List<WarehousingInfoRespVO> convert(List<WarehousingInfoDO> bean);

    List<WarehousingInfoDO> convert2(Collection<WarehousingInfoCreateReqVO> bean);

    WarehousingInfoDO convert3(WarehousingInfoRespVO bean);

    WarehousingInfoDO convert4(WarehousingInfoCreateReqVO bean);

}
